package com.xinzhidi.web.sim.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;


/**
 * sim卡AddDto对象 sim_card
 *
 * @author ruoyi
 * @date 2023-05-25
 */
@ApiModel(value = "sim卡对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class SimCardAddDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "地址域")
    @NotBlank(message = "地址域不能为空")
    @Size(max = 100, message = "地址域长度不能大于100")
    private String address;

    @ApiModelProperty(value = "设备编码")
    @NotBlank(message = "设备编码不能为空")
    @Size(max = 100, message = "设备编码长度不能大于100")
    private String equipmentCode;

    @ApiModelProperty(value = "备注")
    private String remark;

}
